package com.xiumu.hazelcastmodel.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "roles")
public class Role {
    @Id
    private Long id;       //主键
    private String name;   //角色名称
}
